﻿using ETA.Entity;
using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ETA.EntityMappings
{
    public class ProjectTypeMap : ClassMap<ProjectType>
    {
        public ProjectTypeMap()
        {
            Id(x => x.ProjectTypeId);
            Map(x => x.IsDelete);
            Map(x => x.ModifyDate);
            Map(x => x.CreateDate);
            Map(x => x.ProjectTypeDes);
            Map(x => x.ProjectTypeName);
           // References(x => x.WorkType).Column("WorkTypeId");
        }
    }
}
